EditQueryParamMappingRecord

SoftwareShield CheckPoint™ License Server > CheckPoint™ License Server Interfaces > CheckPoint_Webservice_References > EditQueryParamMappingRecord

## EditQueryParamMappingRecord

The EditQueryParamMappingRecord function will edit and update a QueryParamMappingRecord record.

###### Syntax

TRecordResponse * EditQueryParamMappingRecord( TQueryParamMapping * AQueryParamMapping, BSTR ASessionID ) ;

###### Parameters

AQueryParamMapping

[IN] This is a TQueryParamMapping class is used to find and edit a QueryParamMapping entry. The fields of interest are:

- QueryParamNameMapID - the property defines which QuerrParamName to be affected with the update.

- PNameEndUserCompanyName - This property maps to CPEUCONM

- PNameEndUserName - This property maps to CPEUNAME

- PNameEndUserReferrer - This property maps to CPEUREF

- PNameEndUserIP - This property maps to CPEUIP

- PNameEndUserAddress1 - This property maps to CPEUA1

- PNameEndUserAddress2 - This property maps to CPEUA2

- PNameEndUserAddress3 - This property maps to CPEUA3

- PNameEndUserPhone - This property maps to CPEUPH

- PNameEndUserEmail - This property maps to CPEUEM

- PNameEndUserPassword - This property maps to CPEUPW

- PNameGenSerialNo - This is a special parameter that allows you to compress multiple other URL Encoded parameters in this list into a single parameter value

- PNameOrderNo - This property maps to CPONO

ASessionID

[IN] This is the session ID of the logged in user.

###### Remarks

QueryParamNameMapID is used only to determine which license are to be updated. The QueryParamNameMapID will not be changed by this function.

Also note that no fields should be blank unless it is intentional. The associated database field will be overwritten and updated to blank.

Example: if you leave your PNameEndUserCompanyName blank, then the new PNameEndUserCompanyName may be blank.

Only administrators are allowed to use this function.

###### Return Value

Returns the custom class TRecordResponse. The fields of interest that is related to this method are:

- Success- True will be returned if this function was successful, otherwise false will be returned.

- ErrorMessage- if an error occurred, the associated error message can be found in this field.

###### Function Information

Exposed By Interface: | "ICheckPointService"
Exposed In ISAPI DLL: | "checkpoint.dll"